package cn.poem.entity;


/**
 * @Description 类型
 * @Author sugar
 * @Date 2021/6/16 3:31 PM
 * @Version 1.0
 */
public enum LikeObject {

    POETRY(1),
    AUTHOR(2),
    POETRY_COMMENTS(3),
    COMMENT_COMMENTS(4),
    USER(5);
    private int code;
    public void setCode(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
    private LikeObject(int code) {
        this.code = code;
    }

}
